@import '../../styles/variables.less';

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, @primary-color 0%, @primary-dark 100%);

  .login-box {
    width: 400px;
    padding: @padding-lg * 2;
    border-radius: @border-radius-lg;
    background-color: @component-background;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);

    .login-title {
      font-size: @font-size-xxl;
      font-weight: bold;
      color: @text-color;
      text-align: center;
      margin-bottom: @margin-sm;
    }

    .login-subtitle {
      font-size: @font-size-lg;
      color: @text-color-secondary;
      text-align: center;
      margin-bottom: @margin-lg * 2;
    }

    .login-form {
      margin-top: @margin-lg;

      .login-form-forgot {
        float: right;
      }

      .login-button {
        height: 44px;
        font-size: @font-size-lg;
        margin-top: @margin-base;
      }
    }
  }
}

/* 响应式调整 */
@media (max-width: @screen-xs) {
  .login-container {
    .login-box {
      width: 90%;
      max-width: 360px;
      padding: @padding-lg @padding-base;

      .login-title {
        font-size: @font-size-xl;
      }

      .login-subtitle {
        font-size: @font-size-base;
        margin-bottom: @margin-lg;
      }
    }
  }
} 